#ifndef _DISTRIBUTIVITY_GENERATOR_H_
#define _DISTRIBUTIVITY_GENERATOR_H_

#include "Generator.h"

class DistributivityGenerator : public Generator
{
private:
	static const int priority = 0;

	virtual void generate(std::vector <OperatorNode *> :: iterator begin);
public:
	DistributivityGenerator(int property, int priority = MAX_PRIORITY);
	~DistributivityGenerator();

	virtual bool generate(Query *q, QueryStorage *qs, int startpos);
};

#endif